/* Global transition */

// fade
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

.fade-leave-to {
  display: none;
}

// fade-transform
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all .5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

// fade-transform-up
.fade-transform-up-enter-active {
  transition: all 0.3s ease-out;
}

.fade-transform-up-leave-active {
  transition: all 0.3s ease-out;
}

.fade-transform-up-enter-from,
.fade-transform-up-leave-to {
  transform: translateY(-6px);
  opacity: 0;
}